/*******************************************************************************
 * Copyright (c) 2011 Google, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Google, Inc. - initial API and implementation
 *******************************************************************************/
package org.eclipse.wb.internal.core.gef.policy.snapping;

import org.eclipse.wb.core.model.IAbstractComponentInfo;
import org.eclipse.wb.draw2d.geometry.Rectangle;

import java.util.List;

/**
 * Fired every time when bounds adjusted.
 *
 * @author mitin_aa
 */
public interface ISnapPointsListener {
  void boundsChanged(Rectangle bounds,
      List<? extends IAbstractComponentInfo> components,
      SnapPoint[] snapPoints,
      int[] directions);
}
